package io.confluent.kafka.consumer.entities;

import org.codehaus.jackson.annotate.JsonProperty;

import java.util.Date;

/**
 * Created by taotao on 2017/12/19.
 */
public class EventAlarmBean {
    @JsonProperty("alarmKey")
    private String alarmKey;

    @JsonProperty("moc")
    private String moc;

    @JsonProperty("resourceId")
    private String resourceId;

    @JsonProperty("tenantId")
    private String tenantId;

    @JsonProperty("host")
    private String host;

    @JsonProperty("userId")
    private String userId;

    @JsonProperty("alarmName")
    private String alarmName;

    @JsonProperty("perceivedSeverity")
    private int perceivedSeverity;

    @JsonProperty("currentStatus")
    private String currentStatus;

    @JsonProperty("previousStatus")
    private String previousStatus;

    @JsonProperty("alarmRuleId")
    private String alarmRuleId;

    @JsonProperty("reason")
    private String reason;

    @JsonProperty("eventType")
    private String eventType;

    @JsonProperty("alarmRaisedTime")
    private Date alarmRaisedTime;

    @JsonProperty("alarmRaisedTime_gmt")
    private Date alarmRaisedTime_gmt;

    @JsonProperty("receivedTime")
    private Date receivedTime;

    @JsonProperty("originaldata")
    private String originaldata;

    public String getAlarmKey() {
        return alarmKey;
    }

    public void setAlarmKey(String alarmKey) {
        this.alarmKey = alarmKey;
    }

    public String getMoc() {
        return moc;
    }

    public void setMoc(String moc) {
        this.moc = moc;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAlarmName() {
        return alarmName;
    }

    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName;
    }

    public int getPerceivedSeverity() {
        return perceivedSeverity;
    }

    public void setPerceivedSeverity(int perceivedSeverity) {
        this.perceivedSeverity = perceivedSeverity;
    }

    public String getCurrentStatus() {
        return currentStatus;
    }

    public void setCurrentStatus(String currentStatus) {
        this.currentStatus = currentStatus;
    }

    public String getPreviousStatus() {
        return previousStatus;
    }

    public void setPreviousStatus(String previousStatus) {
        this.previousStatus = previousStatus;
    }

    public String getAlarmRuleId() {
        return alarmRuleId;
    }

    public void setAlarmRuleId(String alarmRuleId) {
        this.alarmRuleId = alarmRuleId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public Date getAlarmRaisedTime() {
        return alarmRaisedTime;
    }

    public void setAlarmRaisedTime(Date alarmRaisedTime) {
        this.alarmRaisedTime = alarmRaisedTime;
    }

    public Date getAlarmRaisedTime_gmt() {
        return alarmRaisedTime_gmt;
    }

    public void setAlarmRaisedTime_gmt(Date alarmRaisedTime_gmt) {
        this.alarmRaisedTime_gmt = alarmRaisedTime_gmt;
    }

    public Date getReceivedTime() {
        return receivedTime;
    }

    public void setReceivedTime(Date receivedTime) {
        this.receivedTime = receivedTime;
    }

    public String getOriginaldata() {
        return originaldata;
    }

    public void setOriginaldata(String originaldata) {
        this.originaldata = originaldata;
    }

}
